import brl.blitz
import brl.d3d9max2d
TTileMap^brl.blitz.Object{
.TileWidth%&
.TileHeight%&
.FieldWidth%&
.FieldHeight%&
.img:brl.max2d.TImage&
-New%()="_bb_TTileMap_New"
-Delete%()="_bb_TTileMap_Delete"
+Create:TTileMap(image$,TileWidth%=32,TileHeight%=32,FieldWidth%=64,FieldHeight%=64)="_bb_TTileMap_Create"
-Draw%(Frame%,xpos%,ypos%)="_bb_TTileMap_Draw"
}="bb_TTileMap"
tilemapList:brl.linkedlist.TList&=mem:p("bb_tilemapList")
